package com.yuncheng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yuncheng.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "sys_user_depart对象", description = "云程系统用户部门联系表")
@TableName("sys_user_depart")
public class YcSysUserDepart extends BaseEntity implements Serializable{

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "部门id")
    private String depId;

    @ApiModelProperty(value = "职位ID")
    private String positionId;

    @ApiModelProperty(value = "是否主部门，1是，0否")
    private String isMajorDep;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getIsMajorDep() {
        return isMajorDep;
    }

    public void setIsMajorDep(String isMajorDep) {
        this.isMajorDep = isMajorDep;
    }
}
